0743e0a8e35a2b8597e9b2613e404c6d7aef10e6,thresh/src/test/java/monasca/thresh/domain/model/MetricDefinitionAndTenantIdMatcherTest.java,MetricDefinitionAndTenantIdMatcherTest,shouldFind,#,95

Before Change


    verifyMatch(toMatch, noMatch, hostMatch, groupMatch, toMatch);

    matcher.remove(groupMatch);
    verifyMatch(toMatch, noMatch, hostMatch, toMatch);

    matcher.remove(noMatch);
    verifyMatch(toMatch, hostMatch, toMatch);

After Change


    final String groupMatchId = getNextId();
    matcher.add(groupMatch, groupMatchId);

    verifyMatch(toMatch, noMatchId, hostMatchId, groupMatchId);

    matcher.add(toMatch, toMatchId);
    verifyMatch(toMatch, noMatchId, hostMatchId, groupMatchId, toMatchId);